home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / farebox.sql < prev    next >
Text File  |  2000-05-12  |  889b  |  23 lines

  1. /* RCSVER $Id: farebox.sql,v 1.2 1999-02-24 11:30:32-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        farebox.sql
  6. * Date:        12/28/1998
  7. * memo:        Randy Wood
  8. * Description:     Create the farebox table. This table contains a list of
  9. *        all fareboxes defined to the system.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE farebox
  13. (
  14.     glid    NUMBER(38)        /* Internal sw ID of farebox */
  15.         CONSTRAINT ref_farebox1 REFERENCES global_id(glid)
  16.         ON DELETE CASCADE,
  17.     farebox_id     VARCHAR2(20),    /* User-defined description */
  18.     location    NUMBER(38)    /* Current location - internal ID */
  19.         CONSTRAINT ref_farebox2 REFERENCES global_id(glid)
  20.         ON DELETE CASCADE,
  21.     CONSTRAINT pk_farebox PRIMARY KEY (glid)
  22. );
  23.